<div class="container-fluid">
	<div class="row">
		<div class="col-12">
			<div class="card">
				<div class="card-body">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
						<h4 class="modal-title" id="exampleModalLabel">{$_REQUEST['id'] ? '编辑功能代码' : '添加功能代码'}</h4>
					</div>
					<div class="modal-body">
						<div class="form-group">
							<label for="code" class="control-label">功能代码:</label>
							<input type="text" class="form-control" id="code" name="code" maxlength="4" autocomplete="off" value="{$vo.code}">
						</div>
						<div class="form-group">
							<label for="name" class="control-label">功能代码名称:</label>
							<input type="text" class="form-control" id="name" name="name" maxlength="20" autocomplete="off" value="{$vo.name}">
						</div>
						<div class="form-group">
							<label for="intro" class="control-label">描述:</label>
							<textarea class="form-control" id="intro" name="intro" autocomplete="off">{$vo.intro}</textarea>
						</div>
					</div>
					<div class="modal-footer">
						<input type="hidden" name="act" value="{$vo['id'] ? 'edit' : 'add'}" />
						<input type="hidden" name="id" value="{$vo.id}" />
						<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
						<button type="submit" class="btn btn_primary">保存</button>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>